Migrate to cargo_embargo. Bug: 293289578 Test: Ran cargo_embargo, compared Android.bp Change-Id: I700b032c834944f75c49c5b23e39e231ac48e4f2 
diff --git a/Android.bp b/Android.bp index 495c044..669a801 100644 --- a/Android.bp +++ b/Android.bp 
@@ -1,8 +1,6 @@ -// This file is generated by cargo2android.py --config cargo2android.json. +// This file is generated by cargo_embargo.  // Do not modify this file as changes will be overridden on upgrade.   - -  rust_test {  name: "httparse_test_src_lib",  host_supported: true, @@ -21,9 +19,7 @@  "std",  ],  cfgs: ["httparse_simd"], - rustlibs: [ - "libcriterion", - ], + rustlibs: ["libcriterion"],  }    rust_test { 
diff --git a/cargo2android.json b/cargo2android.json deleted file mode 100644 index aefb658..0000000 --- a/cargo2android.json +++ /dev/null 
@@ -1,5 +0,0 @@ -{ - "run": true, - "device": true, - "tests": true -} 
diff --git a/cargo_embargo.json b/cargo_embargo.json new file mode 100644 index 0000000..9a0a579 --- /dev/null +++ b/cargo_embargo.json 
@@ -0,0 +1,3 @@ +{ + "tests": true +}